import { createRouter, createWebHistory } from 'vue-router'

export default createRouter({
  history: createWebHistory('/phone/'),
  routes: [
    {
        path: '/',
        name: 'Home',
        component: () => import('@/views/FileListView.vue')
      },
      {
        path: '/filelist/:shareOnlyId',
        name: 'FileList',
        component: () => import('@/views/FileListView.vue')
      },
      {
        path: '/file/:shareOnlyId/:productId',
        name: 'FileDetail',
        component: () => import('@/views/FileDetailView.vue')
      }
  ]
})